﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tasker.Infrastructure.Entities.Base;

namespace Tasker.Infrastructure.Entities
{
    /// <summary>
    /// Task entity
    /// </summary>
    public interface ITask : IEntity
    {
        /// <summary>
        /// Task name
        /// </summary>
        string Name { get; set; }

        string Description { get; set; }
        DateTime CreatedDate { get; set; }
        DateTime StartDate { get; set; }
        DateTime FinishDate { get; set; }

        int AuthorId { get; set; }
        int StatusId { get; set; }

        /// <summary>
        /// Parent task
        /// </summary>
        int? ParentId { get; set; }
    }
}
